package com.hades.example.java.refactoring.before.c11.c11_6_extract_subclass;

public class Example {
    public static void main(String[] args) {
        Employee employee = new Employee(5);
        JobItem jobItem = new JobItem(10, 4, true,employee);
        System.out.println(jobItem.getTotalPrice());

        JobItem jobItem2 = new JobItem(10, 4, false,employee);
        System.out.println(jobItem2.getTotalPrice());
    }
}
